import unittest
import HTMLTestRunner

dis = unittest.defaultTestLoader.discover(r'E:\oa-auto-system\mazhiyuan', pattern='test_oa2.py')
f1 = open('../Report/T47_马志元_日志、计划、总结测试报告.html', mode='ab')
htr = HTMLTestRunner.HTMLTestRunner(stream=f1, title='测试报告的标题', description='测试人：马志元')
htr.run(dis)



